import {ExtractPropTypes, PropType} from 'vue'
import {buildProps} from "@/utils";

export const devSelectMutexProps = buildProps({
    allSelectValue: {
        type: Array as PropType<any[]>,
        default: () => []
    },
    options: {
        type: Array as PropType<any[]>,
        default: () => []
    },
    optionValueKey: {
        type: String,
        default: 'value'
    },
    optionLabelKey: {
        type: String,
        default: 'label'
    },
    optionDisabledKey: {
        type: String,
        default: 'disabled'
    }
} as const)
export type DevSelectMutexProps = ExtractPropTypes<typeof devSelectMutexProps>
